From: IOhannes m zmölnig Date: Tue, 16 Feb 2016 15:44:52 +0000 (+0100) Subject: Use numeric build-date X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~255 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=271c14b545da991645006e54ef2d8726a5f5beb2;p=juce.git Use numeric build-date to get rid of locale problems when building reproducibly --- diff --git a/debian/rules b/debian/rules index 2bf743c0..b2aea6b2 100755 --- a/debian/rules +++ b/debian/rules @@ -3,8 +3,8 @@ # Copyright © 2015 IOhannes m zmölnig # Description: Main Debian packaging script for JUCE -BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y") -#export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"' +#BUILD_DATE=$(shell LC_ALL=C date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y") +BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d UTC") DEB_SRCDIR=debian/libbuilder/ BUILDDIR=$(DEB_SRCDIR)build